#ifndef CLIENTINFODIALOG_H
#define CLIENTINFODIALOG_H

#include <QDialog>
#include <QDebug>
#include <QTimer>


class IpConnection;

namespace Ui {
class ClientInfoDialog;
}

class ClientInfoDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit ClientInfoDialog(IpConnection *ic, QWidget *parent = 0);
    ~ClientInfoDialog();

    void closeEvent(QCloseEvent *event);
    


public slots:
    void updateInfo();
    void clientHasDestroyed();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::ClientInfoDialog *ui;
    IpConnection *ic;
    QTimer timer;
};

#endif // CLIENTINFODIALOG_H
